package com.zg.scf.domain.req;

import com.zg.common.core.validation.Mobile;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ScfSmsValidCodeReq {

    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "【手机号】字段不能为NULL")
    @Mobile
    private String phone;

    @ApiModelProperty(value = "验证码", required = true)
    @NotBlank(message = "【验证码】字段不能为NULL")
    private String code;
}
